package qshsoft.springsecurity

import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity

@SpringBootApplication
@EnableGlobalMethodSecurity(securedEnabled = true,prePostEnabled = true)
public class springsecurityApplication {

    public static void main(String[] args) {
        SpringApplication.run(springsecurityApplication.class, args);
    }

}
